﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Tintuc.aspx.cs" Inherits="Tintuc" %>

<%@ Register src="Controls/ucRight.ascx" tagname="ucRight" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Maincontent" Runat="Server">
    <div class="leftcontent">
        <div class="leftcontent-box">
        <h3>Danh Sách Tin Tức</h3>
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:DataList ID="dtlstt" runat="server" DataKeyField="Type" >
                <ItemTemplate>
                    <div class="ds_tintuc">
                        <div class="img_tt">
                            <a href="<%# "Chitiettintuc.aspx?id="+Eval("id") %>">
                                <img src="<%# "Uploads/News/"+Eval("image") %>" alt="image" width="90px" height="65px"/>
                            </a>
                        </div>
                        <div class="text_tt">
                            <a href="<%# "Chitiettintuc.aspx?id="+Eval("id") %>"><%# Eval("title") %></a>
                            <p class="ngaytao"><%# Eval("Date") %></p>
                        </div>
                        <div class="chitiet">
                            <a href="<%# "Chitiettintuc.aspx?id="+Eval("id") %>">Xem chi tiết...</a>
                        </div>
                        <div class="clear"></div>
                    </div>
                </ItemTemplate>
                </asp:DataList>
                <div id="paging">    
                    &nbsp;&nbsp;
                        <asp:LinkButton ID="linkBtnFirst" runat="server" CssClass="pagingButton" onclick="linkBtnFirst_Click" 
                            >|&lt;</asp:LinkButton>
                    &nbsp;<asp:LinkButton ID="linkBtnPrev" runat="server" CssClass="pagingButton" onclick="linkBtnPrev_Click" 
                            >&lt;</asp:LinkButton>
                    &nbsp;<asp:LinkButton ID="linkBtnNext" runat="server" CssClass="pagingButton" onclick="linkBtnNext_Click" 
                            >&gt;</asp:LinkButton>
                    &nbsp;<asp:LinkButton ID="linkBtnLast" runat="server" CssClass="pagingButton" onclick="linkBtnLast_Click" 
                            >&gt;|</asp:LinkButton>
    
                </div>
            </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </div>
    <div class="rightcontent">
        
        <uc1:ucRight ID="ucRight1" runat="server" />
        
    </div>
    <div class="clear"></div>
</asp:Content>

